projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5ff46f
)
spi: kirkwood: add orion-spi compatible string
author
Chris Packham
<
[email protected]
>
Wed, 1 Aug 2018 06:49:26 +0000
(12:19 +0530)
committer
Jagan Teki
<
[email protected]
>
Fri, 3 Aug 2018 05:44:02 +0000
(11:14 +0530)
This matches the compatible string used by the Linux kernel. This will
allow u-boot to use the same device tree files.
Signed-off-by: Chris Packham <
[email protected]
>
Reviewed-by: Jagan Teki <
[email protected]
>
[jagan: use armada instead of orion on .data]
Signed-off-by: Jagan Teki <
[email protected]
>
drivers/spi/kirkwood_spi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/kirkwood_spi.c
b/drivers/spi/kirkwood_spi.c
index 4aa2c5481e747dfdd4bc441063591a697ec8a3e1..5dd1ad67cfc12327da70cb05572a84ff9fd7e209 100644
(file)
--- a/
drivers/spi/kirkwood_spi.c
+++ b/
drivers/spi/kirkwood_spi.c
@@
-386,6
+386,10
@@
static const struct dm_spi_ops mvebu_spi_ops = {
*/
};
+static const struct mvebu_spi_dev armada_spi_dev_data = {
+ .is_errata_50mhz_ac = false,
+};
+
static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
.is_errata_50mhz_ac = false,
};
@@
-399,6
+403,10
@@
static const struct mvebu_spi_dev armada_380_spi_dev_data = {
};
static const struct udevice_id mvebu_spi_ids[] = {
+ {
+ .compatible = "marvell,orion-spi",
+ .data = (ulong)&armada_spi_dev_data,
+ },
{
.compatible = "marvell,armada-375-spi",
.data = (ulong)&armada_375_spi_dev_data